package com.baizhi.entity;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.Date;

/**
 * Created by Lenovo on 2019/6/20.
 */
@Data

//轮播图
public class Banner {
    private Integer id;
    private String imageUrl;
    private String name;
    private Integer state;
    private Date date;
    private String description;

    public Banner() {
        super();
    }

    @Override
    public String toString() {
        return "Banner{" +
                "id=" + id +
                ", imageUrl='" + imageUrl + '\'' +
                ", name='" + name + '\'' +
                ", state=" + state +
                ", date=" + date +
                ", description='" + description + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Banner(Integer id, String imageUrl, String name, Integer state, Date date, String description) {

        this.id = id;
        this.imageUrl = imageUrl;
        this.name = name;
        this.state = state;
        this.date = date;
        this.description = description;
    }
}
